package net.csdn.business.mirror.service;

import net.csdn.business.common.domain.PageDto;
import net.csdn.business.common.domain.mirror.AddMirrorBlackDto;
import net.csdn.business.common.domain.mirror.MirrorListDto;
import net.csdn.business.common.domain.mirror.ProjectMirrorDataQueryDto;
import net.csdn.business.mirror.entity.bean.ProjectMirrorBlack;

import java.util.List;

public interface ProjectMirrorBlackService {
    void addBlack(AddMirrorBlackDto addMirrorBlackDto);

    void delBlack(AddMirrorBlackDto addMirrorBlackDto);

    List<String> getAllExistsRepoPaths(List<String> repoPaths);

    ProjectMirrorBlack getByRepoPath(String repoPath);

    List<ProjectMirrorBlack> getByRepoPaths(List<String> repoPaths);

    PageDto<MirrorListDto> list(ProjectMirrorDataQueryDto dto);
}